import random

redList = []

blueList = []

while len(redList) < 5:
    i = random.randint(1,35)
    if i not in redList:
        redList.append(i)
print(redList)

while len(blueList) < 2:
    j = random.randint(1,8)
    if j not in blueList:
        blueList.append(j)
print(blueList)

List = redList + blueList
print(list)
